home *** CD-ROM | disk | FTP | other *** search
Wrap
IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) NNNNAAAAMMMMEEEE ilptops - convert a text file into a PostScript file SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS iiiillllppppttttooooppppssss [----BBBB #] [----CCCC n] [----DDDD] [----EEEE header] [----FFFF fontlist] [----GGGG] [----HHHH] [----IIII #] [----JJJJ printer] [----KKKK n] [----LLLL #] [----MMMM n] [----NNNN [tb][lcr]n] [----OOOO #] [----PPPP #] [----QQQQ] [----RRRR #] [----TTTT #] [----UUUU] [----VVVV] [----WWWW] [----XXXX] [----2222] [----aaaa] [----hhhh #] [----llll locale name] [----mmmm map file] [----pppp bitmap size] [----wwww #] infiles DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN _i_l_p_t_o_p_s converts a text file into a PostScript file for printing on an Apple LaserWriter, or any other PostScript-compatible output device. It supports selection of a variety of fonts at arbitrary point sizes, margin specification, portrait and landscape page orientation, automatic page numbering, page outlining, and multi-column printing. It is similar to _i_l_p_t_o_p_s (1) except that it processes supplementary code set characters according to the locale specified in the LC_CTYPE environment variables [see LANG on environ(5)]. The ----llll options overrides LC_CTYPE. It also has the capability to download bitmap and Type 1 fonts to printers. In the option descriptions below, physical dimensions described as # may be specified as a single number with an optional fractional part, and a required two-letter unit designator. Letter case is ignored. Possible forms are: #.##bp big point (1in=72bp) [Courier: 120.000/Pbp cpi] #.##cm centimeter [Courier: 4.233/Pcm cpi] #.##in inch [Courier: 1.667/Pin cpi] #.##mm millimeter (10mm=1cm) [Courier: 42.333/Pmm cpi] #.##pt point (72.27pt=1in) [Courier: 120.450/Ppt cpi] The bracketed values give the number of characters per inch (cpi) for a point size of P units with the fixed-width Courier font. Options are parsed left to right. So, always the most recent option is considered when there is a conflict. For example, iiiillllppppttttooooppppssss ----UUUU ----XXXX here, -X will be considered. The letter case is ignored in the options and the following options may appear in any order. ----BBBB #### Bottom margin of #. ----CCCC nnnn Print _n copies of each page. PPPPaaaaggggeeee 1111 IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) ----DDDD Use the Standard PostScript character set for text fonts. If this option is not specified, the program will check whether the specified font contains ISO 8859-1 (Latin-1) characters. If so, it will use the ISO 8859-1 character set. Otherwise, it will use the default character set for the specified font. ----EEEE hhhheeeeaaaaddddeeeerrrr The header string will be used to print the gaudy header if ----GGGG option is turned on. This flag has no effect if ----GGGG is not used. ----FFFF ffffoooonnnnttttlllliiiisssstttt Comma seperated list of PostScript fontnames to be used with every codeset. Possible values with acceptable short abbreviations (formed from the upper-case letters in the font names) are as follows. The following 35 typefaces are available on most of the PostScript printers. Some old printers may support only the first 13 typefaces. FFFFuuuullllllll NNNNaaaammmmeeee AAAAbbbbbbbbrrrreeeevvvviiiiaaaattttiiiioooonnnn ___________________________________________ Courier C Courier-Bold CB Courier-BoldOblique CBO Courier-Oblique CO Helvetica H Helvetica-Bold HB Helvetica-BoldOblique HBO Helvetica-Oblique HO Symbol S Times-Bold TB Times-BoldItalic TBI Times-Italic TI Times-Roman T AvantGarde-Book AGB AvantGarde-BookOblique AGBO AvantGarde-Demi AGD AvantGarde-DemiOblique AGDO Bookman-Demi BD Bookman-DemiItalic BDI Bookman-Light BL Bookman-LightItalic BLI Helvetica-Narrow HN Helvetica-Narrow-Bold HNB Helvetica-Narrow-BoldOblique HNBO Helvetica-Narrow-Oblique HNO NewCenturySchlbk-Bold NCSB NewCenturySchlbk-BoldItalic NCSBI NewCenturySchlbk-Italic NCSI NewCenturySchlbk-Roman NCSR Palatino-Bold PB PPPPaaaaggggeeee 2222 IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) Palatino-BoldItalic PBI Palatino-Italic PI Palatino-Roman PR ZapfChancery-MediumItalic ZCMI ZapfDingbats ZD The user is not limited to the above 35 typefaces. If there are any additional fonts that have been downloaded into the PostScript printer, then they can be used by specifying them through fontname. If the requested font is not found, then the PostScript interpreter will substitute it with a Courier font. Alternatively, the user can opt to download fonts to the printer if the corresponding outline font is not available int the printer.. The fontname is as specified by the ps2xlfd_map.* file [ see type1xfonts(1) ] and the download flag in the ilptops_map.* file shoule be 1. Only the Courier fonts have fixed widths like typewriter and line printer fonts. The others are proportionally spaced for improved readability, and consequently, tabular material will not line up properly with them. ----GGGG Turn on page decorations. Prints Date,Time,File name and Page number. If a header is specified with the ----EEEE option, it will override file name. ----HHHH Horizontal page orientation (landscape mode) instead of vertical page orientation (portrait mode). ----IIII #### Top margin of # for initial page (for letterheads); if not specified, it will default to the value given for the top margin by default or by the -T# command. ----JJJJ pppprrrriiiinnnntttteeeerrrr The printer on which the document ( output ) is going to be printed. The printer has to be installed on the system. If this option is not specified, _i_l_p_t_o_p_s assumes 8.5x11in page size and 0.35in margins. ----KKKK nnnn The maximum number of lines to be printed on the page. Default is 66 lines. ----LLLL #### Left margin of #. ----MMMM nnnn Multiple column output (n columns). In multiple column mode, formfeeds cause column breaks instead of page breaks. ----NNNN [[[[ttttbbbb]]]][[[[llllccccrrrr]]]]nnnn Number output pages. The number is placed by default in the center of the top margin, but the margin can be selected explicitly by t (top) or b (bottom), and the position of the page number can be further specified by l (left), c (center), or r (right). If an initial top margin value is given with the -I# option, numbering will be omitted on the first page if it is at the top. Pages are PPPPaaaaggggeeee 3333 IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) unnumbered if this option is not specified. ----OOOO #### Draw a # unit wide outline for pages/columns. In multi-column mode a rectangular box is drawn around each column. A 0.4pt width outline is an optimal choice for this option. ----PPPP #### Font point size. The point size also determines the interline spacing. ----QQQQ Turn on debug messages. ----RRRR #### Right margin of #. ----TTTT #### Top margin of #. ----UUUU Output pages in unsorted (first to last) order instead of in sorted (page reversed) order; some PostScript printers have page handlers that stack the paper in this order. The default is sorted because this is appropriate for the most common PostScript printer,the Apple LaserWriter. Note that the newer Apple LaserWriter II series stacks pages reversed. Therefore, the ----UUUU option should be used when sending print jobs to a LaserWriter II printer. ----VVVV Vertical page orientation (portrait mode) instead of Horizontal page orientation (landscape mode). ----WWWW Wraps long lines in the text instead of clipping them. _i_l_p_t_o_p_s reads the character width information from fontmetric files in /usr/lib/DPS/AFM to do the line width calculations. If the requested font's fontmetrics file is not found, then _i_l_p_t_o_p_s ignores this switch and defaults to clip mode. Default mode is to clip text in long lines. ----XXXX Output pages in sorted (last to first) order instead of in unsorted (-U option) order; some printers have page handlers that stack the paper in this order. The default is sorted because this is appropriate for the most common PostScript printer, the Apple LaserWriter. ----2222 Output PostScript file has Level 2 features. ----aaaa Adjusts lines according to the rules in mmmmaaaapppp_f_i_l_e. It has no effect if the option -W is not used. ----hhhh #### Page height of #. ----llll llllooooccccaaaalllleeee____nnnnaaaammmmeeee Locale name. Default is the environment variable LANG. ----mmmm mmmmaaaapppp____ffffiiiilllleeee Default is /usr/lib/print/ilptops_map.<locale>. Various locales require their own map files. The map file includes font names, PPPPaaaaggggeeee 4444 IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) download, AFM flag and rules in the following format. Any line that begins with a '#' is a comment. Columns are separated from by any sequence of spaces or tabs. Lines 1 - 4 has 4 columns, _f_o_n_t__n_a_m_e , _o_f_f_s_e_t__v_a_l_u_e_s , _d_o_w_n_l_o_a_d__f_l_a_g and _A_F_M__f_l_a_g a line each for each code set 0 - 3 respectively. _f_o_n_t__n_a_m_e can be the font name of either a PostScript printer or IRIX Font Manager. _o_f_f_s_e_t__v_a_l_u_e_s is a hexadecimal integer tells the difference in character code between text code and printer. printer code = text code - _o_f_f_s_e_t__v_a_l_u_e _d_o_w_n_l_o_a_d__f_l_a_g indicates whether ilptops should download the font to the printer. With a value 1, the program generates Type 3 fonts in the output PostScript file. It optimises the amount of data sent to the printer by generating only the part of the font which is required for printing the input text file. With a value 2, it simply copy Type 1 fonts in the PostScript file. A value of 0 switches the flag off. _A_F_M__f_l_a_g indicates whether ilptops should use AFM to calculate character width or not. line 5 has 2 columns, _b_i_t_m_a_p__s_i_z_e and _s_i_d_e__b_e_a_r_i_n_g_s. _b_i_t_m_a_p__s_i_z_e indicates the preferred size of bitmap used when generating the Type 3 font to be downloaded to the printer and _s_i_d_e__b_e_a_r_i_n_g_s is any space that would be left around each character generated in the Type 3 font. They have no effect if _d_o_w_n_l_o_a_d__f_l_a_g is off. Line 6 - 8 presents rules which are used to adjust wrapped lines. Each line is a multi-byte character string. If the following condition is satisfied, the line will be warped after current character. {current character is in line 6} or {{current character is not in line 7} and {next character is not is line 8}} It has no effect if the option ----aaaa is not used. An example ilptops_map.cs files for the czech locale would be #### ffffoooonnnnttttnnnnaaaammmmeeee ooooffffffffsssseeeetttt ddddoooowwwwnnnnllllooooaaaadddd____ffffllllaaaagggg AAAAFFFFMMMM____ffffllllaaaagggg FFFFiiiixxxxeeeedddd2222 0000xxxx0000 1111 0000 FFFFiiiixxxxeeeedddd2222 0000xxxx0000 1111 0000 CCCCoooouuuurrrriiiieeeerrrr 0000xxxx0000 2222 1111 CCCCoooouuuurrrriiiieeeerrrr 0000xxxx0000 0000 1111 #### ffffoooonnnntttt____ssssiiiizzzzeeee ssssiiiiddddeeee____bbbbeeeeaaaarrrriiiinnnnggggssss 22224444 0000 PPPPaaaaggggeeee 5555 IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) The fontname Fixed2 in this example could have a specification in the file ////uuuussssrrrr////lllliiiibbbb////XXXX11111111////ffffoooonnnnttttssss////ppppssss2222xxxxllllffffdddd____mmmmaaaapppp....llllaaaattttiiiinnnn2222 aaaassss #### ppppssss2222xxxxllllffffdddd____mmmmaaaapppp....llllaaaattttiiiinnnn2222 #### #### TTTThhhhiiiissss ffffiiiilllleeee iiiissss aaaa mmmmaaaappppppppiiiinnnngggg ooooffff PPPPoooossssttttSSSSccccrrrriiiipppptttt aaaannnndddd #### FFFFoooonnnntttt MMMMaaaannnnaaaaggggeeeerrrr ((((FFFFMMMM)))) #### ffffoooonnnntttt nnnnaaaammmmeeeessss ttttoooo tttteeeemmmmppppllllaaaatttteeeessss #### ffffoooorrrr 11114444----ppppaaaarrrrtttt ((((XXXXLLLLFFFFDDDD)))) XXXX ffffoooonnnntttt nnnnaaaammmmeeeessss.... #### #### TTTThhhheeee ffffoooorrrrmmmmaaaatttt ooooffff eeeeaaaacccchhhh lllliiiinnnneeee iiiissss:::: #### #### <<<<ffffoooonnnnttttnnnnaaaammmmeeee>>>> <<<<wwwwhhhhiiiitttteeeessssppppaaaacccceeee>>>> <<<<XXXXLLLLFFFFDDDDffffoooonnnnttttnnnnaaaammmmeeee>>>> <<<<nnnneeeewwwwlllliiiinnnneeee>>>> #### #### TTTThhhheeee XXXXLLLLFFFFDDDDffffoooonnnnttttnnnnaaaammmmeeee iiiissss aaaannnn XXXXLLLLFFFFDDDD tttteeeemmmmppppllllaaaatttteeee.... TTTThhhheeee vvvvaaaalllluuuueeeessss ooooffff:::: #### PPPPIIIIXXXXEEEELLLL____SSSSIIIIZZZZEEEE #### PPPPOOOOIIIINNNNTTTT____SSSSIIIIZZZZEEEE #### RRRREEEESSSSOOOOLLLLUUUUTTTTIIIIOOOONNNN____XXXX #### RRRREEEESSSSOOOOLLLLUUUUTTTTIIIIOOOONNNN____YYYY #### aaaarrrreeee sssseeeetttt ttttoooo 0000.... #### FFFFiiiixxxxeeeedddd2222 ----ssssggggiiii----ffffiiiixxxxeeeedddd----mmmmeeeeddddiiiiuuuummmm----rrrr----nnnnoooorrrrmmmmaaaallll--------0000----0000----0000----0000----cccc----0000----iiiissssoooo8888888855559999----2222 FFFFiiiixxxxeeeedddd2222----BBBBoooolllldddd ----ssssggggiiii----ffffiiiixxxxeeeedddd----bbbboooolllldddd----rrrr----nnnnoooorrrrmmmmaaaallll--------0000----0000----0000----0000----cccc----0000----iiiissssoooo8888888855559999----2222 ----pppp nnnn Bitmap size used for generating Type 3 fonts. It has no effect if _d_o_w_n_l_o_a_d__f_l_a_g is off. ----wwww #### Page width of #. DDDDeeeeffffaaaauuuullllttttssss aaaarrrreeee:::: _i_l_p_t_o_p_s -B0.35in -C1 -FCourier -K66 -L0.35in -M1 -R0.35in -T0.35in -X -h11.0in -w8.0in BBBBUUUUGGGGSSSS Currently, _i_l_p_t_o_p_s is not able to handle files that generate more than 1024 total pages. FFFFIIIILLLLEEEESSSS /usr/lib/print/ilptops filter to convert text to PostScript. /usr/lib/print/ilptops_map.<locale> Locale dependent map files. SSSSEEEEEEEE AAAALLLLSSSSOOOO lp(1) lptops(1) type1xfonts(1) PPPPaaaaggggeeee 6666